/*********************************************************************&
 *
 *  MODULE: ABOUT_ME.CPP
 *  AUTHOR: BRIAN M. WORKMAN
 *  START DATE: November 26, 2005, 11:03:42 AM
 *
 **********************************************************************/

#include "about_me.h"

AboutDialog::AboutDialog(QWidget * parent, Qt::WFlags f)
{
    resize(QSize(512, 210).expandedTo(minimumSizeHint()));
    setBaseSize(QSize(0, 0));
    QPalette palette;
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(230, 216, 174));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(242, 236, 215));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(253, 238, 192));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(198, 166, 70));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(153, 144, 116));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(242, 236, 215));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 255));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(198, 166, 70));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(0, 0, 0));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 255));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(255, 0, 255));
    palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(230, 216, 174));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(242, 236, 215));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(253, 238, 192));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(198, 166, 70));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(153, 144, 116));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(242, 236, 215));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 255));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(230, 216, 174));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(0, 0, 0));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 255));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(255, 0, 255));
    palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(115, 108, 87));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(230, 216, 174));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(242, 236, 215));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(236, 226, 194));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(198, 166, 70));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(153, 144, 116));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(115, 108, 87));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(242, 236, 215));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(115, 108, 87));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 255));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(198, 166, 70));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(0, 0, 0));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 255));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(255, 0, 255));
    palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
    setPalette(palette);
    setAutoFillBackground(true);
    setModal(true);
    vboxLayout = new QVBoxLayout(this);
    vboxLayout->setSpacing(6);
    vboxLayout->setMargin(9);
    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
    hboxLayout = new QHBoxLayout();
    hboxLayout->setSpacing(6);
    hboxLayout->setMargin(0);
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
    label = new QLabel(this);
    label->setObjectName(QString::fromUtf8("label"));
    label->setMaximumSize(QSize(250, 177));
    label->setPixmap(QPixmap(":/logo"));

    hboxLayout->addWidget(label);

    label_2 = new QLabel(this);
    label_2->setObjectName(QString::fromUtf8("label_2"));
    label_2->setAutoFillBackground(true);
    label_2->setTextFormat(Qt::RichText);
    label_2->setWordWrap(true);

    hboxLayout->addWidget(label_2);


    vboxLayout->addLayout(hboxLayout);

    hboxLayout1 = new QHBoxLayout();
    hboxLayout1->setSpacing(6);
    hboxLayout1->setMargin(0);
    hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
    okButton = new QPushButton(this);
    okButton->setObjectName(QString::fromUtf8("okButton"));
    QPalette palette1;
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(255, 255, 255));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(242, 236, 215));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(253, 238, 192));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(198, 166, 70));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(153, 144, 116));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(242, 236, 215));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 255));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(198, 166, 70));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(0, 0, 0));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 255));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(255, 0, 255));
    palette1.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(255, 255, 255));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(242, 236, 215));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(253, 238, 192));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(198, 166, 70));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(153, 144, 116));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(242, 236, 215));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 255));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(230, 216, 174));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(0, 0, 0));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 255));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(255, 0, 255));
    palette1.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(115, 108, 87));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(255, 255, 255));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(242, 236, 215));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(236, 226, 194));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(198, 166, 70));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(153, 144, 116));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(115, 108, 87));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(242, 236, 215));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(115, 108, 87));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(255, 255, 255));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(198, 166, 70));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(0, 0, 0));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 255));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(255, 0, 255));
    palette1.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
    okButton->setPalette(palette1);
    QFont font;
    font.setFamily(QString::fromUtf8("MS Shell Dlg"));
    font.setPointSize(11);
    font.setBold(true);
    font.setItalic(false);
    font.setUnderline(false);
    font.setWeight(75);
    font.setStrikeOut(false);
    okButton->setFont(font);

    hboxLayout1->addWidget(okButton);

    vboxLayout->addLayout(hboxLayout1);

    connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
    setWindowTitle("About MUDpad");
//    label->setText("AboutDialog");
    label_2->setText("<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">MUDpad Editor</span></p><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">No Copyright 2005, 2006 Ellenia Group</p><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Feel free to use, dissassemble, whatever you want. This is a GPL application.</p><p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"></p><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Website: http://www.ellenia.com/medit/</p></body></html>");
    okButton->setText("&Close");

    m_parent = parent;
    m_flags = f;
}
